# Contributor: knuxify <knuxify@gmail.com>
# Maintainer: knuxify <knuxify@gmail.com>
pkgname=mugshot
pkgver=0.4.3
pkgrel=1
pkgdesc="Lightweight user configuration utility"
url="https://github.com/bluesabre/mugshot"
arch="all"
license="GPL-3.0-or-later"
depends="python3 shadow py3-cairo py3-gobject3 py3-pexpect"
makedepends="gobject-introspection intltool py3-setuptools py3-distutils-extra"
subpackages="$pkgname-doc $pkgname-lang"
source="https://github.com/bluesabre/mugshot/releases/download/mugshot-$pkgver/mugshot-$pkgver.tar.gz
	0001-use-gettext-instead-of-locale-gettext.patch"
options="!check" # no test suite

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
248d9f0438030bc25904e105f0ef62c5253fda5b0bf0b4b7fd0d82cb95e26bf6acc4394c241201cf916ae5b65115fad3e9e87e6b21a877f1448503ac495ca17c  mugshot-0.4.3.tar.gz
4be1da2731de009c21a05bd904cc11929ffa9dca451779bb23dd79e997fcace80405aab54aa5814ee65b8fab233a1112e0557aa7b050d07cbf052a7b92851a5d  0001-use-gettext-instead-of-locale-gettext.patch
"
